Downloading file reception process

ABSTRACT

An audiovisual data reproduction device includes a connection to a central server configured to distribute files to the device. Reception functions associated with a respective type of data are provided to the device The device is configured to: select an available storage area of a specified minimum size, open a reception file on the audiovisual data reproduction device in the selected available storage area, receive each packet of a file sent by the server and write each packet sent to the reception file (with each file including information representative of a type of data associated with the file), and for each file received, search for a respective reception function associated with each received file based on the information representative of the type of data associated with the file. Each reception function is configured to process associated received files and update the device according to the data included therein.

CROSS REFERENCES TO RELATED APPLICATIONS

This Application is a Continuation of application Ser. No. 09/583,863 filed Jun. 1, 2000, which claims priority to French Application No. 00 01907 filed Feb. 16, 2000, the entire contents of which are hereby incorporated by reference herein.

FIELD OF THE INVENTION

The present invention relates to a file reception process applied to an audiovisual data reproduction system.

BACKGROUND OF THE INVENTION

In the prior art, file reception processes comprising a first step, wherein the file(s) received are stored in memory in a file located in a temporary storage area, are known. Then a specific procedure checks whether the file(s) received correspond to the file(s) expected. If this is the case, according to the type of file, the files received are copied to a specified permanent storage area.

OBJECTS AND SUMMARY OF THE INVENTION

Therefore, the purpose of the present invention is to remedy the disadvantages of the prior art by proposing a file reception process no longer requiring temporary file storage.

This purpose is achieved by a process for receiving files sent by a central server an audiovisual data reproduction system, managed by an operating system and linked to the server, by means of a data transfer link, characterized in that the process comprises:

-   -   a step consisting of initializing a link between the central         server and an audiovisual data reproduction system,     -   a step consisting of storing files sent by the central server on         storage means of the audiovisual data reproduction system, each         file comprising specified information representative of the type         of data contained in the file,     -   a step consisting of searching, for each file received, a         specific reception function, this search step being carried out         by means of the specified information representative of the type         of data contained in the file,     -   a step consisting of processing each file by the corresponding         reception function, the processing comprising copying of the         file received to a specified storage area.

BRIEF DESCRIPTION OF DRAWINGS

The invention, with its characteristics and advantages, will be understood more clearly upon reading the description given with reference to the appended drawings, wherein:

FIG. 1 represents a logic diagram of the file reception process according to the invention,

FIG. 2 represents a logic diagram of representative song file reception function,

FIG. 3 represents a logic diagram of a representative album cover file reception function.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

The file reception process according to the invention is implemented by an audiovisual data reproduction system such as that described in the European patent application No. 99 401 785.3. According to this European patent application, the reproduction system essentially comprises a central processing unit managing, by means of a plurality of interfaces and an operating system, sound reproduction, image display, song selection and a link with a remote audiovisual data distribution server. The operating system is organised in hierarchical modules each managing a specific function of the audiovisual data reproduction system.

The operating system of such an audiovisual data reproduction system also manages a database. This database contains data on the files stored on the reproduction system's storage means. These files particularly represent, either digitised data forming songs, or graphic data representing the cover of the albums from which the songs are taken, or animations (video or advertising). For example, there are at least two types of graphic files. The first type of graphic file represents the album cover in a small format. This first type of graphic file is used during a customer's search in the list of songs available on the reproduction system. The second type of files represents the album cover in a large format. This second type of file is used when the customer has selected a song taken from the album corresponding to the cover. The third type of file may be a video, advertisement or survey. The different file types, song files, graphic files of the first and second types, are differentiated using a different file extension for each file type.

The data contained in the database is used to determine the links existing between the song files and the associated graphic files, such that all song files are linked to at least one graphic file. However, graphic files representing the album cover may not be linked to any song file. This means that the songs in the album represented by the cover are not stored on the reproduction system but may be ordered in order to be downloaded onto the reproduction system's storage means. Similarly, new songs with their corresponding album sleeve may be ordered in order to be downloaded onto the reproduction system's storage means. It is during the downloading of the files corresponding to the songs or album sleeves that the process according to the invention is implemented.

When new songs are ordered using an audiovisual data reproduction system, the operating system of the reproduction system checks whether, for the new song, a graphic file, representing the album cover, is already stored on the storage means. If this is not the case, the corresponding graphic file(s) is/are also ordered. For each file ordered, a function intended to process and handle the file ordered is created by a module of the operating system supervising the type of file ordered. In this way, the operating system comprises a first module managing song files, a second module managing the first type of graphic files, a third module managing the second type of graphic file and other modules managing the other file types. In the rest of this document, the operation will be described with three different file types. However, this does not represent a limitation of the present invention. In this way, during the order, for example of a specified song file, the first module creates a specific reception function for the song files ordered. To do this, the database comprises the name of all the files of all the songs available on the reproduction system and the name of all the files of all the downloadable songs. In this way, for each file ordered, the reception function is created.

Similarly, the first, second and third modules comprise a function creating a “standard” reception function used to account for the reception of a song file or a graphic file of the first or second type. In this way, even if a file, e.g. a song file, was not ordered directly by means of the reproduction system, but by other means such as, for example, the server or an Internet site connected to the server, the reception of this file may be taken into account by the reproduction system.

When the order of a file has been validated, a fourth module of the operating system handles the management of the link with the remote server. For this, as soon as a communication is connected with the server, the fourth module creates a specific file comprising the identification of all the files ordered on the reproduction system. After the server checks any rights authorizing the downloading of files onto the reproduction system or not, the requested files are sent to the requesting reproduction system. The files are sent in data packets.

FIG. 1 represents a logic diagram of the file reception process according to the invention. In the process according to the invention, a first step 10 consists of initializing the communication between the server and the reproduction system to perform the file transfer. Then, the process comprises a step 11 consisting of opening a reception file on the storage means. According to the invention, the storage area selected is a permanent storage area wherein the memory available has a specified minimum size. In this way, unlike the prior art, the data is not stored in a specific temporary storage area, but in any area of the storage means, provided that this area has a specified minimum size. After the file has been opened, during a third step 12, a “telecommunication” module of the operating system, is set to standby for a data packet.

Then, during a reception step 13, the data contained in the packet received is copied to the open file. A checking step 14 checks whether the packet that has just been copied is the last packet of the file being received. As long as the last packet of the file being received has not been received, all the data packets of same file are copied to the previously opened file. When the last data packet of the file is detected during the checking step 14, the operating system telecommunication module creates, during a sixth step 15, a notification that it then sends to the fourth module managing the link with the server. This notification informs the fourth module that a new file has been received. As soon as this notification is received, the fourth module switches from a standby step 20 to a search step 21 in all the reception functions created, to find whether any of them relate to the file received. Similarly, the fourth module also searches to find whether a standard reception function exists.

The search is carried out by means of the name of the file received and/or by means of its extension. Indeed, each reception function is specific, either to a specific file or to a file type. Consequently, using the name or extension of the file received, the associated reception function can easily be located by the fourth module. When the fourth module locates the function corresponding to the file received, it is then activated during a ninth step 22 to start the processing of this new file. For each file related to a song, a first reception function is activated during a tenth step 24, and for each file related to an image, a second reception function is activated during an eleventh step 23. The processing of a song file or image file essentially consists of copying the file received to an appropriate memory area and then updating the reproduction system's database. If no reception function is located by the fourth module of the reproduction system, the process is stopped and no other action or operation is carried out on the file received.

FIG. 2 represents the logic diagram of a representative song file reception function. In a first step 30, the reception function checks in the reproduction system's database whether the file already exists. If it exists, the new file copied over the old one in a second step 31, such that the old file is deleted, if the file does not exist, the new file is stored in memory, in a third step 32, to an appropriate area of the storage means, e.g. to a specific directory. Then, the function checks, in a fourth step 33, whether the new file was copied correctly. If this is not the case, the function, in a fifth step 302, deletes the file received. If the new file was copied correctly, the reception function updates the database. This update comprises, in a sixth step 34, a search in the file received, for the data to update the database. Then, using the data found, the reception function checks, in a seventh step 35, that the associated graphic files exist. Similarly, the reception function checks whether the versions of the song file and associated graphic files are compatible with each other and with the operating system version. Otherwise, the operating system is not updated or the new graphic files are ordered, for example, according to the process described in the European patent request No. 99 401 785.3.

Then, in an eighth step 36, the reception function updates the database to account for the associated graphic files. In a ninth step 37, the reception function adds to an event table in the reproduction system's database that a new song file has been received.

In a tenth step 38, the reception function updates a file stored on the reproduction system, comprising the identification of all the songs available on the reproduction system. Each song is, for example, identified by means of a single number. This file is used by the server to detect the list of songs available on each reproduction system connected to the server. In this way, the server can detect the list of songs present on the reproduction system by requesting, during communication with the reproduction system, the latter to send the file containing the list of songs. In this way, the server simply needs to extract the song numbers contained in this file to find out the songs available on the reproduction system.

In an eleventh step 39, the reception function adds an entry to a statistics table in the reproduction systems database. This statistics table makes it possible to determine how many times the song corresponding to the new file received is selected. In a twelfth step 301, the reception function updates a purchase table in the reproduction system's database. This purchase table is used, for example, to check that the number of songs ordered is less than a specified number or to bill the songs ordered. Then, the reception function carries out the fifth step 302 consisting of deleting the file received at its original location. Indeed, the file received in the second 31 or third step is copied to a specified memory area. Consequently, the file received is kept in its initial location throughout the database update steps. After this update, the initial version is of no further use and, consequently, may be deleted. The reception function ends with a thirteenth step 303 consisting of updating the number of songs that can be selected by a customer on the reproduction system. This number is stored in memory on the system storage means to be compared to a specified threshold. When the number is equal to the threshold, this means that the reproduction system comprises a maximum number of songs that can be selected and that it therefore not possible to order others without deleting at least one song beforehand.

FIG. 3 represents the logic diagram of a representative album cover file reception function. According to the invention, the processing of graphic files of the first and second types is identical. The graphic file reception function checks, in a first step 40, the integrity of the file received. In a second step 41, the reception function checks in the reproduction system's database whether the graphic file already exists. If it exists, the new file is copied, during a third step 42, over the old file, such that the old file is deleted. If the file does not exist, the new graphic file is copied, during a fourth step 43, in an appropriate area of the storage means, e.g. to a specific directory. Then, the function checks, to a fifth step 44, whether the new file was copied correctly. If this is not the case, the function, in a sixth step 46, deletes the file received. If the new file was copied correctly, the reception function, in a seventh step 45, updates the database. This update consists of indicating the name of the new graphic file, and the songs to which it is linked, i.e. the songs belonging to the album represented by the graphic file. All this data is either available in the graphic file or available in an archive table in the database.

In this way, the file reception process according to the invention is characterised in that it comprises:

-   -   a step consisting of initializing a link between the central         server and an audiovisual data reproduction system,     -   a step consisting of storing files sent by the central server on         storage means of the audiovisual data reproduction system, each         file comprising specified information representative of the type         of data contained in the file,     -   a step consisting of searching, for each file received, a         specific reception function, this search step being carried out         by means of the specified information representative of the type         of data contained in the file,     -   a step consisting of processing each file by the corresponding         reception function, the processing comprising copying of the         file received to a specified storage area.

In another embodiment, the storage step consists of opening a file in any permanent memory area with an available area of a specified minimum value, to write the data sent.

In another embodiment, the processing step comprises the update of a database of the audiovisual data reproduction system to account for the data contained in the file received.

In another embodiment, the search step is activated when the last data packet corresponding to a whole file is stored in memory.

In another embodiment, the specified information comprises the file extension and/or the name of the file received.

In another embodiment, when the specified information represents a song file, the database update step comprises at least one of the following steps:

-   -   a step consisting of checking the compatibility of the version         of the song file with the version of the reproduction system         operating system,     -   a step consisting of updating a file stored on the reproduction         system containing the identification of all the songs stored on         the reproduction system,     -   a step consisting of updating a statistics table in the database         making it possible to determine the selection frequency of the         song corresponding to the file stored in memory,     -   a step consisting of updating purchase table containing the         number and name of all the songs purchased for the reproduction         system,     -   a step consisting of updating a counter of songs that can be         selected to check that the number of songs that can be selected         is not greater than a specified threshold.

It must be clear for those experienced in the art that the present invention enables embodiments in many other specific forms without leaving the field of the invention as claimed. Consequently, the present embodiments must be considered as illustrations, but may be modified in the field defined by the scope of the claims attached, and the invention must not be limited to the details given above. 

What is claimed is:
 1. An audiovisual data reproduction device, comprising: a network connection to a central server, the central server being configured to distribute files to the audiovisual data reproduction device; an operating system configured to manage the audiovisual data reproduction device; a storage medium; and a plurality of reception functions, each said reception function being associated with a respective type of data; wherein the audiovisual data reproduction device is configured to: select an available storage area of a specified minimum size, open a reception file on the storage medium of the audiovisual data reproduction device in the selected available storage area, receive each packet of a file sent by the central server and write each said packet sent by the central server to the reception file, each file sent by the central server including information representative of a type of data associated with the file, and for each file received, search for a respective reception function to be associated with each received file based at least in part on the information representative of the type of data associated with the file. wherein each said reception function is configured to process associated files that have been received and update the audiovisual reproduction device according to the data included in the processed received file, and wherein the minimum size corresponds to a size of the file sent by the central server.
 2. The audiovisual data reproduction device of claim 1, wherein the audiovisual data reproduction device is configured to run the search after a last data packet of the received file has been stored.
 3. The audiovisual data reproduction device of claim 1, wherein the information representative of the type of data comprises the file extension and/or the name of the file received.
 4. The audiovisual data reproduction device of claim 1, wherein when the information representative of the type of data represents a song file, the update causes a song database stored on the audiovisual data reproduction device to be updated by associating the received song file with a graphical file stored in the audiovisual reproduction device.
 5. The audiovisual data reproduction device of claim 1, wherein when the information representative of the type of data represents a song file, the update causes the compatibility of the version of the song file received to be checked against a version of the operating system of the audiovisual data reproduction device.
 6. The audiovisual data reproduction device of claim 1, wherein when the information representative of the type of data represents a song file, the update causes an update to a list stored on the audiovisual data reproduction device that identifies all songs stored on the audiovisual data reproduction device.
 7. The audiovisual data reproduction device of claim 1, wherein when the information representative of the type of data represents a song file, the update causes a song database stored on the audiovisual data reproduction device to be updated by updating a statistics table used in determining a selection frequency of the song corresponding to the file.
 8. The audiovisual data reproduction device of claim 1, wherein when the information representative of the type of data represents a song file, the update causes a song database stored on the audiovisual data reproduction device to be updated by updating a purchase table containing the number and name of all the songs purchased for the audiovisual data reproduction device.
 9. The audiovisual data reproduction device of claim 1, wherein when the information representative of the type of data represents a song file, the update causes a song database stored on the audiovisual data reproduction device to be updated by updating a counter of songs that are selectable to check that the number of songs that are selectable is not greater than a specified threshold.
 10. The audiovisual data reproduction device of claim 1, wherein the audiovisual data reproduction device is configured to store the received file without executing a reception function when said search does not match a received file to a reception function.
 11. The audiovisual data reproduction device of claim 1, wherein the types include a song data type, a graphics file data type, a video data type, an advertisement data type, and a survey data type.
 12. The audiovisual data reproduction device of claim 1, wherein the central server is configured to send files to the audiovisual data reproduction device in response to a request from the audiovisual data reproduction device.
 13. An audiovisual data reproduction system, comprising: one or more audiovisual data reproduction devices; a central server configured to selectively distribute files to the one or more audiovisual data reproduction devices; and a network connection between the central server and the one or more audiovisual data reproduction devices, respectively, wherein each said audiovisual data reproduction device comprises: an operating system configured to manage the audiovisual data reproduction device; a storage medium; and a plurality of reception functions, each said reception function being associated with a respective type of data; wherein the audiovisual data reproduction device is configured to: select an available storage area of a specified minimum size, open a reception file on the storage medium of the audiovisual data reproduction device in the selected available storage area, receive each packet of a file sent by the central server and write each said packet sent by the central server to the reception file, each file sent by the central server including information representative of a type of data associated with the file, and for each file received, search for a respective reception function to be associated with each received file based at least in part on the information representative of the type of data associated with the file, wherein each said reception function is configured to process associated files that have been received and update the audiovisual reproduction device according to the data included in the processed received file, and wherein the minimum size corresponds to a size of the file sent by the central server.
 14. The audiovisual data reproduction system of claim 13, wherein an individual audiovisual data reproduction device is configured to run the search after a last data packet of the received file has been stored.
 15. The audiovisual data reproduction system of claim 13, wherein the information representative of the type of data comprises the file extension and/or the name of the file received.
 16. The audiovisual data reproduction system of claim 13, wherein when the information representative of the type of data represents a song file, the associated audiovisual data reproduction device acts so as to cause at least one or more of the following to occur: a song database stored on the audiovisual data reproduction device is caused to be updated by associating the received song file with a graphical file stored in the audiovisual reproduction device, the compatibility of the version of the song file received is caused to be checked against a version of the operating system of the audiovisual data reproduction device, a list stored on the audiovisual data reproduction device that identifies all songs stored on the audiovisual data reproduction device is caused to be updated, a song database stored on the audiovisual data reproduction device is caused to be updated by updating a statistics table used in determining a selection frequency of the song corresponding to the file, the song database stored on the audiovisual data reproduction device is caused to be updated by updating a purchase table containing the number and name of all the songs purchased for the audiovisual data reproduction device, and the song database stored on the audiovisual data reproduction device is caused to be updated by updating a counter of songs that are selectable to check that the number of songs that are selectable is not greater than a specified threshold.
 17. The audiovisual data reproduction system of claim 13, wherein the audiovisual data reproduction device is configured to store the received file without executing a reception function when said search does not match a received file to a reception function.
 18. The audiovisual data reproduction system of claim 13, wherein the types include a song data type, a graphics file data type, a video data type, an advertisement data type, and a survey data type.
 19. The audiovisual data reproduction system of claim 13, wherein the central server is configured to send files to the audiovisual data reproduction device in response to a request from the audiovisual data reproduction device.
 20. The audiovisual data reproduction system of claim 13, wherein the central server is configured to verify that the audiovisual data reproduction device to which a file is to be sent has rights in the file. 